import request from "../utils/request"
const url = '/cate'

export function getAllcates() {
    return request.get(`${url}/getAllcates`)
}
export function addCate(data) {
    return request.post(`${url}/addCate`,data)
}
export function editCate(data) {
    return request.post(`${url}/editCate`,data)
}
export function delCate(data) {
    return request.post(`${url}/delCate`,data)
}

